import { AxiosPromise } from 'axios'
import request from './request'

/**
 * 获取部门下拉选项
 */
export const getDepartmentOptions =
  (): AxiosPromise<DepartmentAPIResponse.DepartmentOptionList> => {
    return request({
      url: '/sms/organize',
      method: 'get',
    })
  }
